/**
 * @author sy
 * @description 微信分支付相关 Api
 */
export enum Wxapi{
    /**
     * 获取平台证书信息
     */
    GET_CERTIFICATES = '/v3/certificates',

    /**
     * 商户预授权
     */
    CREATE_PERMISSIONS = '/v3/payscore/permissions',

    /**
     * 查询授权信息+{openid}
     */
    QUERY_PERMISSIONS_OPENID = '/v3/payscore/permissions/openid/%s',

    /**
     * 解除授权信息+{openid}
     */
    TERMINATE_PERMISSIONS_OPENID = '/v3/payscore/permissions/openid/%s/terminate',

    /**
     *
     * 查询支付分订单
     */
    QUERY_SERVICE_ORDER = '/v3/payscore/serviceorder',

    /**
     * 创建支付分订单
     */
    CREATE_SERVICE_ORDER = '/v3/payscore/serviceorder',

    /**
     * 取消支付分订单{out_order_no}
     */
    SERVICE_ORDER_CANCEL = '/v3/payscore/serviceorder/%s/cancel',

    /**
     * 完结支付分订单{out_order_no}
     */
    SERVICE_ORDER_COMPLETE = '/v3/payscore/serviceorder/%s/complete',

    /**
     * 修改支付分订单金额
     */
    SERVICE_ORDER_MODIFY = '/v3/payscore/serviceorder/%s/modify',

    /**
     * 同步服务订单信息{out_order_no}
     */
    SERVICE_ORDER_SYNC = '/v3/payscore/serviceorder/%s/sync',

    /**
     * 微信支付分退款
     */
    SERVICE_DOMESTIC_REFUND = '/v3/refund/domestic/refunds',

    /**
     * 微信支付分查询单笔退款
     */
    QUERY_REFUND_BY_NO = '/v3/refund/domestic/refunds/%s',
}


